import request from '@/utils/request'

export function getStaffList(data){
    return request({
        url:'/staff-list',
        method:'get',
        params:data
    });
}

export function listAllUser(data){
   return request({
       url:'/list-all-user',
       method:'get',
       params:data
   });
}

export function listAllStaff(){
   return request({
      url:'/list-all-staff',
      method:'get'
   });
}

export function setStaff(data){
   return request({
       url:'/set-staff',
       method:'post',
       data:qs.stringify(data)
   });
}
